import { Module } from '@nestjs/common';
import { ArticleContentService } from './article-content.service';
import { ArticleContentController } from './article-content.controller';
import { ArticleContentEntity } from './article-content.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ArticleContentCollectModule } from './article-content-collect/article-content-collect.module';
import { ArticleContentLikeModule } from './article-content-like/article-content-like.module';
import { ArticleContentUserReviewModule } from './article-content-user-review/article-content-user-review.module';
import { ArticleContentShareModule } from './article-content-share/article-content-share.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([ArticleContentEntity]),
    ArticleContentCollectModule,
    ArticleContentLikeModule,
		ArticleContentUserReviewModule,
		ArticleContentShareModule
  ],
  controllers: [ArticleContentController],
  providers: [ArticleContentService],
  exports: [ArticleContentService, TypeOrmModule],
})
export class ArticleContentModule {}
